package org.luxor.commons.zookeeper.exception;

import org.luxor.commons.core.exception.BaseException;
import org.luxor.commons.core.web.RestStatus;

/**
 * ZookeeperException
 *
 * @author Mr.Yan  @date: 2020/12/22
 */
public class ZookeeperException extends BaseException {

    public ZookeeperException() {
    }

    public ZookeeperException(String message) {
        super(message);
    }

    public ZookeeperException(String message, Throwable e) {
        super(message, e);
    }

    public ZookeeperException(Integer code, String message) {
        super(code, message);
    }

    public ZookeeperException(Integer code, String message, String error) {
        super(code, message, error);
    }

    public ZookeeperException(Integer code, String message, Throwable e) {
        super(code, message, e);
    }

    public ZookeeperException(RestStatus restStatus) {
        super(restStatus);
    }

    public ZookeeperException(RestStatus restStatus, String error) {
        super(restStatus, error);
    }

    public ZookeeperException(RestStatus restStatus, Throwable e) {
        super(restStatus, e);
    }
}
